const express = require("express");
const router = express.Router();
const ip_handler = require("../router_handler/ip");
const expressJoi = require("@escook/express-joi");
const { reg_rob_schema } = require("../schema/ip");
router.get("/list", ip_handler.getLists);
router.get("/get", ip_handler.getIp);
router.post("/setrob", expressJoi(reg_rob_schema),  ip_handler.setRob);

module.exports = router;